<!DOCTYPE html>
<html lang="en">
<head>	
<link rel="icon" href="{{url_for('static', filename='assets/images/AD_favicon.png')}}" type="image/png">
<title>AD智能诊断系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="../../static/css/bootstrap.min.css" />
<link rel="stylesheet" href="../../static/css/bootstrap-responsive.min.css" />
<link rel="stylesheet" href="../../static/css/fullcalendar.css" />
<link rel="stylesheet" href="../../static/css/matrix-style.css" />
<link rel="stylesheet" href="../../static/css/matrix-media.css" />
<link rel="stylesheet" href="../../static/font-awesome/css/font-awesome.css"  />
<link rel="stylesheet" href="../../static/css/jquery.gritter.css" />
<link rel='stylesheet' href='../../static/css/font.css' />
<!-- <link rel="stylesheet" type="text/css" href="practice_system/bootstrap-3.3.7/css/bootstrap.min.css"> -->
</head>
<body >

<!--Header-part-->

<div id="header">
  <h3 style="margin:15px auto auto 10px;">AD智能诊断系统</h3>
  <!-- <h1><a href="#">实习管理系统</a></h1> -->
</div>
<!--close-Helabeler-part--> 

<!--top-Header-menu-->
<div id="user-nav" class="navbar navbar-inverse">

  <ul class="nav">
    <li  class="dropdown" id="profile-messages" ><a title="" href="#" data-toggle="dropdown" data-target="#profile-messages" class="dropdown-toggle"><i class="icon icon-user"></i>  <span class="text">用户配置</span><b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li><a href="/ExpertInfo"><i class="icon-user"></i> 个人信息</a></li>
        <li class="divider"></li>
        <li><a href="/ExpertLogout"><i class="icon-key"></i> 登出</a></li>
      </ul>
    </li>
    <!-- <li class="dropdown" id="menu-messages"><a href="#" data-toggle="dropdown" data-target="#menu-messages" class="dropdown-toggle"><i class="icon icon-envelope"></i> <span class="text">消息</span> <span class="label label-important">5</span> <b class="caret"></b></a>
      <ul class="dropdown-menu">
        <li><a class="sAdd" title="" href="#"><i class="icon-plus"></i> 新消息</a></li>
        <li class="divider"></li>
        <li><a class="sOutbox" title="" href="#"><i class="icon-arrow-up"></i> outbox</a></li>
        <li class="divider"></li>
        <li><a class="sTrash" title="" href="#"><i class="icon-trash"></i> trash</a></li>
      </ul>
    </li> -->
    <li class=""><a title="" href="/ExpertSetting"><i class="icon icon-cog"></i> <span class="text">设置</span></a></li>
    <li class=""><a title="" href="/ExpertLogout"><i class="icon icon-share-alt"></i> <span class="text">登出</span></a></li>
    <li class=""><a title="" href="/ExpertIndex"><i class="icon icon-user"></i> <span class="text">专家：</span><span id="userid">{{ username }}</span></a></li>
  </ul>
</div>

<!--左边侧边栏-->
<div id="sidebar"><a href="/ExpertIndex" class="visible-phone"><i class="icon icon-home"></i> 预诊断申请列表</a>
  <ul>
    <li><a href="/ExpertIndex"><i class="icon icon-home"></i> <span> 主页 </span></a> </li>
    <li class="submenu active"> <a href="/ExpertDApply"><i class="icon icon-time"></i> <span>预诊断申请列表</span>
    	<ul>
		  <li><a href="/ExpertDApply">预诊断申请列表</a></li>
		  <li><a href="/ExpertGetMRI">上传诊断结果</a></li>
	</ul>
    <!-- </a> --> 
    </li>
    <li> <a href="/ExpertJApply"><i class="icon icon-th-list"></i> <span>入职申请</span></a>
    <li class="submenu"> <a href="/ExpertInfo"><i class="icon icon-user"></i> <span>个人管理</span>
      <ul>
        <li><a href="/ExpertInfo">个人信息</a></li>
        <li><a href="/ExpertAchievement">个人成就</a></li>
      </ul>
    </li>
    <li><a href="/ExpertContact"><i class="icon icon-phone"></i> <span>联系我们</span></a></li>
  </ul>
</div>
<!--sidebar-menu-->






<div id="content">
  <div id="content-header">
    <div id="breadcrumb"> <a href="/ExpertIndex" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 主页</a></div>
  </div>
  
		
		
		<div class="container-fluid">
    <!--在这里面写主要内容-->
 <div class="widget-box">
          <div class="widget-title"> <span class="icon"><i class="icon-th"></i></span>
            <h5 id="leave_sid">诊断申请列表</h5>
          </div>
          <div class="widget-content nopadding">
            <table class="table table-bordered data-table">
              <thead>
                <tr>
                  <th>诊断申请ID</th>
                  <th>普通用户ID</th>
                  <th>MRI影像名称</th>
                  <th>申请时间</th>
                  <th>诊断状态</th>
                  <th>诊断批准</th>
                </tr>
              </thead>
              <tbody id="apply_content">
               {% for i in dapply %}
               <tr>
               	
               	<td>{{ i[0] }}</td>
               	<td>{{ i[1] }}</td>
               	<td>{{ i[2] }}</td>
               	<td>{{ i[3] }}</td>
               	<td name="apply" style="color: red;">{{ i[4] }}</td>
               	<td>
               		<form method="post" action={{ i[5] }}>
               			<!--批准：btn btn-success；完成批准：btn btn-inverse-->
               		<input id="allow" name="allow" class={{ i[6] }} type={{ i[7] }} value={{ i[8] }}>
               		</form>
               		{{ i[9]|safe}} 
               	</td>
               	
               </tr>
               {% endfor %}
              </tbody>
            </table>
          </div>
</div>

        <div class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers" id="DataTables_Table_0_paginate"><a tabindex="0" class="first ui-corner-tl ui-corner-bl fg-button ui-button ui-state-default " id="DataTables_Table_0_first">首页</a><a tabindex="0" class="previous fg-button ui-button ui-state-default " id="DataTables_Table_0_previous">上一页</a><span id="page"></span><a tabindex="0" class="next fg-button ui-button ui-state-default" id="DataTables_Table_0_next">下一页</a><a tabindex="0" class="last ui-corner-tr ui-corner-br fg-button ui-button ui-state-default" id="DataTables_Table_0_last">末页</a></div>

  </div>
</div>





<!--底部说明-->
		<div class="row-fluid">
			<div id="footer" class="span12">
				2019 &copy; HuaCode
			</div>
		</div>
		
		
		
<script type="text/javascript" src="../../static/js/excanvas.min.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.min.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.ui.custom.js"></script> 
<script type="text/javascript" src="../../static/js/bootstrap.min.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.flot.min.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.flot.resize.min.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.peity.min.js"></script> 
<script type="text/javascript" src="../../static/js/fullcalendar.min.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.dashboard.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.gritter.min.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.interface.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.chat.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.validate.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.form_validation.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.wizard.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.uniform.js"></script> 
<script type="text/javascript" src="../../static/js/select2.min.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.popover.js"></script> 
<script type="text/javascript" src="../../static/js/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="../../static/js/matrix.tables.js"></script> 



</body>
</html>
